package org.plr.ecommerce.model;

import java.util.List;

public interface Category extends Entity {

    Long getId();

    Long getVersion();

    Label getName();

    void setName(Label name);

    Label getDescription();

    void setDescription(Label description);

    Category getCategory();

    void setCategory(Category category);

    List<Category> getCategories();

    void setCategories(List<Category> categories);

    void addCategory(Category category);

    void removeCategory(Category category);

    List<Product> getProducts();

    void setProducts(List<Product> products);

    void addProduct(Product product);

    void removeProduct(Product product);
}
